package starblaze 
{
	
  public final class Constant 
  {
    
    private var m_name:String;
    public function get name():String { return m_name; }
    
    private var m_type:Type;
    public function get type():Type { return m_type; }
    
    private var m_value:*;
    public function get value():* { return m_value; }
    
    public function Constant(name:String, type:Type, value:*) 
    {
      m_name = name;
      m_type = type;
      m_value = value;
    }
    
    public function equals(rhs:Constant):Boolean
    {
      return m_name == rhs.m_name && m_type.equals(rhs.m_type) && m_value == rhs.m_value;
    }
    
  }
  
}
